package com.clm.po;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

/**
 * Created by 宋冲 on 2014/6/6.
 * 高德软件
 */
public class Restaurant extends Model<Restaurant>{
    public static final Restaurant dao = new Restaurant();

    public Page<Restaurant> paginate(int pageNumber, int pageSize) {
        return paginate(pageNumber, pageSize, "select *", "from restaurant order by id asc");
    }
}
